Linux Journal March 2013 by Linux Journal

Linux Journal March 2013 by Linux Journal

Author:Linux Journal
Language: eng
Format: mobi, epub
Tags: Varnish, Drupal, Salt Stack, Vagrant, Dart, Raspberry Pi, Watir, Linux, Android, Ruby
Publisher: Belltown Media
Published: 2013-02-22T08:00:00+00:00


■ Create a folder in /sites/all/themes.

■ Name the folder with the name of the theme. The name should be all lowercase with no spaces—for example, /sites/all/themes/cooltheme.

■ Create a new document with your preferred text editor or IDE.

■ Add some base settings to this document (see below).

■ Save the document inside the newly created theme folder.

■ Name the document the same as the folder plus the .info extension—for example, cooltheme.info.

Here are the .info base settings:

name = cooltheme

description = Description of the theme.

core = 7.x

engine = phptemplate

regions[left] = Left sidebar

regions[content] = Content

regions[header] = Header

regions[footer] = Footer

Once the theme has these components, enable it from the administration interface. On the Drupal toolbar, click on appearance (URL: /admin/appearance). The new custom theme should be listed on this page; enable it, and set it as the default.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.